package com.yuyou.fn.educational.service;

import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.educational.entity.Room;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.vo.RoomQueryVo;
import com.yuyou.fn.educational.vo.RoomSaveOrUpdateVo;

import java.util.List;

/**
 *
 * Room 表数据服务层接口
 *
 */
public interface IRoomService extends ISuperService<Room,Long> {


    void deleteByCampusId(Long campusId);

    void deleteRoom(Long roomId) ;


    Page<Room> findRoomByQueryForPage(RoomQueryVo roomQueryVo, int pageNo, int pageSize);

    void saveOrUpdateRoom(RoomSaveOrUpdateVo roomSaveOrUpdateVo);

    Page<Room> findRoomListForClassArrangement(RoomQueryVo roomQueryVo, int pageNo, int pageSize);

    List<Room> findListByCampusId(Long campusId, Long areaTeamId, Long busTeamId);
}